package com.kuaidao.common.constant;

/**
 * 系统级错误代码枚举类
 */
public enum SysErrorCodeEnum {

    ERR_SYSTEM("100001", "系统错误"),

    ERR_REST_FAIL("100005", "微服务接口调用失败"),

    ERR_ILLEGAL_PARAM("1000", "参数值非法"),;

    private String code;
    private String message;

    private SysErrorCodeEnum(String code,String message){
        this.code=code;
        this.message=message;
    }
    public String getCode(){
        return code;
    }

    public void setCode(String code){
        this.code=code;
    }

    public String getMessage(){
        return message;
    }


    public void setMessage(String message){
        this.message=message;
    }


}
